DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / C1SpanDataCollection<T> Class / Slice Method
The index in the underlying collection where this collection starts.
The maximum number of items that will be in this collection. If not specified will continue to the end of the inner collection.

In This Topic
    Slice Method
    In This Topic
    Specifies the bounds of the collection.
    Syntax
    'Declaration
     
    Public Sub Slice( _
       ByVal start As Integer, _
       Optional ByVal length As Nullable(Of Integer) _
    ) 
    public void Slice( 
       int start,
       Nullable<int> length
    )

    Parameters

    start
    The index in the underlying collection where this collection starts.
    length
    The maximum number of items that will be in this collection. If not specified will continue to the end of the inner collection.
    See Also